package mysql

import "gorm.io/gorm"

type Topic struct {
	gorm.Model
	TopicName  string `gorm:"type:varchar(30);not ull;comment:'话题名称'"`
	TopicIntro string `gorm:"type:text;comment:'话题描述'"`
	HotLevel   int64  `gorm:"type:int(11);default:0;comment:'评论状态'"`
	CreateTime string `gorm:"type:varchar(50);not ull;comment:'创建时间'"`
}
